/**
 * 
 */
package org.cuatrovientos.pools;

/**
 * We need a program that generates 15 different results used by football pools, each can be one of this (1, X or 2)
 * @author Jesus
 *
 */

import java.util.Random;
public class Pools {
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		//We need to generate a random number so we use this:
		Random random = new Random();
		
		//We need a variable to save the signs, so we declare this
		int sign = 0;

		//Finally, we do a for loop to fill the 15 signs, one by one, with random numbers
		//Also, we show that on the screen
		for (int i = 0; i < 15; i++){
			sign = random.nextInt(3); 
			if (sign == 0) {System.out.println(i + 1 + " - 1");}
			if (sign == 1) {System.out.println(i + 1 + " - X");}
			if (sign == 2) {System.out.println(i + 1 + " - 2");}
		}
	}
}